<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Trait Baidu\Duer\Botsdk\DataObject</title>

	<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li class="active">
					<a href="namespace-Baidu.html">
						Baidu<span></span>
					</a>

						<ul>
				<li class="active">
					<a href="namespace-Baidu.Duer.html">
						Duer<span></span>
					</a>

						<ul>
				<li class="active">
					<a href="namespace-Baidu.Duer.Botsdk.html">
						Botsdk<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Card.html">
						Card					</a>

						</li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.html">
						Directive<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.AppLauncher.html">
						AppLauncher					</a>

						</li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.AudioPlayer.html">
						AudioPlayer					</a>

						</li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.WebBrowser.html">
						WebBrowser					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Plugins.html">
						Plugins					</a>

						</li>
							</ul></li></ul></li></ul></li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Baidu.Duer.Botsdk.Bot.html">Bot</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Certificate.html">Certificate</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Intercept.html">Intercept</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Log.html">Log</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Nlu.html">Nlu</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Request.html">Request</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Response.html">Response</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Session.html">Session</a></li>
			</ul>


			<h3>Traits</h3>
			<ul>
				<li class="active"><a href="class-Baidu.Duer.Botsdk.DataObject.html">DataObject</a></li>
			</ul>



		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-Baidu.Duer.Botsdk.html" title="Summary of Baidu\Duer\Botsdk"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Trait DataObject</h1>









	<div>
		<h4>Direct Known Users</h4>
			<a href="class-Baidu.Duer.Botsdk.Session.html">Baidu\Duer\Botsdk\Session</a>
	</div>


	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-Baidu.html">Baidu</a>\<a href="namespace-Baidu.Duer.html">Duer</a>\<a href="namespace-Baidu.Duer.Botsdk.html">Botsdk</a><br>
		

			<b>Located at</b> <a href="source-class-Baidu.Duer.Botsdk.DataObject.html#21-73" title="Go to source code">DataObject.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="getData" id="_getData">

		<td class="attributes"><code>
			 public 

			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getData">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.DataObject.html#27-46" title="Go to source code">getData</a>( <span>string <var>$field</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$default</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>获取值</p>
		</div>

		<div class="description detailed hidden">
			<p>获取值</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$field</var></dt>
					<dd>属性名</dd>
					<dt><var>$default</var></dt>
					<dd>默认值，如果对应属性值为空，使用$default返回</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					mixed
				</div>


				<h4>Desc</h4>
				<div class="list">
						获取a.b.c 对应 array[a][b][c]的值<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="setData" id="_setData">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setData">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.DataObject.html#48-72" title="Go to source code">setData</a>( <span>string <var>$field</var></span>, <span>mixed <var>$value</var></span>, <span>string <var>$default</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$field</var></dt>
					<dd>属性名</dd>
					<dt><var>$value</var></dt>
					<dd>值</dd>
					<dt><var>$default</var></dt>
					<dd>默认值，如果值为空，使用$default</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>


				<h4>Desc</h4>
				<div class="list">
						设置a.b.c 对应 array[a][b][c]的值<br>
				</div>


		</div>
		</div></td>
	</tr>
	</table>


















</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
